package org.example.service;

import org.example.domain.Prod;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.model.ChangeStock;

public interface ProdService extends IService<Prod>{


    Boolean saveProd(Prod prod);

    Prod queryProdInfoById(Long prodId);

    Boolean modifyProdInfo(Prod prod);

    Boolean removeProdById(Long prodId);

    Prod queryWxProdInfoByProdId(Long prodId);

    Boolean changeProdAndSkuChangeStock(ChangeStock changeStock);

    Prod queryWxSeckillProdInfoByProdId(Long prodId,Long skuId);
}
